package com.mibox.common.ui;

import com.blankj.utilcode.util.ActivityUtils;
import com.mibox.common.bean.SettingBean;
import com.mibox.common.utils.LEDUtils;

import java.util.LinkedList;

public class MoreEntryActivity extends BaseEntryActivity {

    @Override
    protected void addPageEntries(LinkedList<SettingBean> entries) {
        entries.add(new SettingBean("系统设置", () ->
                ActivityUtils.startActivity(SystemPrefActivity.class)));
        entries.add(new SettingBean("发送广播", () ->
                ActivityUtils.startActivity(BroadcastActivity.class)));
        entries.add(new SettingBean("LED开关", LEDUtils::toggleLEDs));
    }
}
